Skip to content

Implement glossary marketing events#377

Merged
InlinePizza merged 2 commits intomainfrom
feat/glossary-events
Apr 9, 2026
Merged

Implement glossary marketing events#377
InlinePizza merged 2 commits intomainfrom
feat/glossary-events

Conversation

@InlinePizza
Copy link
Copy Markdown
Contributor

Summary

  • email_captured: Consolidates demo_requested, blog_demo_requested, and blog_newsletter_subscribed into a single event with intent/location properties across Hero, DemoBooking, BlogRequestDemo, BlogNewsletterCTA, and BrokenLinkReportForm
  • section_viewed: IntersectionObserver (50% threshold) on homepage sections (overview, testimonials, how-promptless-works, capabilities), once per section per page load
  • scroll_depth: Fires at 25/50/75/100% scroll milestones on blog posts
  • pricing_bundle_changed: Fires on Growth plan dropdown change with bundle_id, bundle_label, price_label
  • banner_dismissed: Fires on announcement banner close with campaign

video_played and video_progress are not included — blocked on YouTube migration per the glossary.

Test plan

  • Verify email_captured fires with correct intent/location on each form submission (hero, demo page, blog demo CTA, blog newsletter, broken link tool)
  • Verify old events (demo_requested, blog_demo_requested, blog_newsletter_subscribed) no longer fire
  • Verify section_viewed fires once per section when scrolling the homepage
  • Verify scroll_depth fires at each milestone on a blog post
  • Verify pricing_bundle_changed fires when changing the Growth dropdown on /pricing
  • Verify banner_dismissed fires when closing the announcement banner

🤖 Generated with Claude Code

…th, pricing_bundle_changed, banner_dismissed

Consolidate demo_requested, blog_demo_requested, and blog_newsletter_subscribed
into a single email_captured event with intent/location properties. Add
section_viewed (homepage IntersectionObserver), scroll_depth (blog post
milestones), pricing_bundle_changed (Growth plan dropdown), and banner_dismissed
(announcement banner close) per the marketing event glossary.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
promptless-docs Ready Ready Preview, Comment Apr 9, 2026 9:53pm

Request Review

Explain the purpose and implementation details of:
- section_viewed: IntersectionObserver tracking for homepage sections
- scroll_depth: Scroll milestone tracking on blog posts
- banner_dismissed: Announcement banner close tracking
- pricing_bundle_changed: Growth plan dropdown selection tracking
@InlinePizza InlinePizza merged commit 7c8596e into main Apr 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant